<div class="label-b">
	<div class="box-1">
		<div class="title">
			<div class="img">
				<img src="./images/yuanzhu.png">
			</div>
			<div class="tit1">热门标签</div>
		</div>
		<div class="label-list">
			<ul id="label_list">
			</ul>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function(){
	//标签列表
	var label_url = 'http://'+document.domain+"/index/data/label";
	$.ajax({
		type: 'POST',
        url: label_url,
        data:{},
        dataType: 'json',
        success: function(result){
        	var html = '';
			result.forEach((item,i)=>{
				html += '<a href="label.php?id='+result[i]['id']+'"><li>'+result[i]['name']+'</li></a>';
			})
			$('#label_list').html(html);
        },
	})
})
</script>